package com.letian.im.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.letian.common.annotation.Excel;
import com.letian.common.core.domain.BaseEntity;

/**
 * 朋友列表对象 im_my_friends
 * 
 * @author bmz
 * @date 2023-08-13
 */
public class ImMyFriends extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 好友ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long myUserId;

    /** 用户的好友ID */
    @Excel(name = "用户的好友ID")
    private Long myFriendUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMyUserId(Long myUserId) 
    {
        this.myUserId = myUserId;
    }

    public Long getMyUserId() 
    {
        return myUserId;
    }
    public void setMyFriendUserId(Long myFriendUserId) 
    {
        this.myFriendUserId = myFriendUserId;
    }

    public Long getMyFriendUserId() 
    {
        return myFriendUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("myUserId", getMyUserId())
            .append("myFriendUserId", getMyFriendUserId())
            .toString();
    }
}
